package com.edu.cqr.web.demo.mapper;

import com.edu.cqr.web.demo.model.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserRoleMapper {
    int insert(UserRole record);

    void delUserRoleInfoByUserId(@Param("userId") Integer userId);

    void updateRoleInfoByUserId(@Param("userId")Integer userId,@Param("roleId")Integer roleId);
}